passthrough: allow pt_bind_irq for msi update
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 15 Apr 2009 14:38:57 +0000 (15:38 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 15 Apr 2009 14:38:57 +0000 (15:38 +0100)
commit9c854741d6438425523253c4cdfc46320acc14f8
tree6c33ba2a28854f557efa65065301c482ae6d89c4
parent19c624b57a2a6c1af0e466d6888317138052105f
passthrough: allow pt_bind_irq for msi update

Extend pt_bind_irq to handle the update of msi guest
vector and flag.

Unbind and rebind using separate hypercalls may not be viable
sometime.
For example, the guest may update MSI address/data on fly without
disabling it first (e.g. change delivery/destination), implement these
updates in such a way may result in interrupt loss.

Signed-off-by: Qing He <qing.he@intel.com>
xen/drivers/passthrough/io.c